//Under GNU AGPL v3, see LICENCE

package beartek.agora;


class Utils{

  public static function generate_chars( n = 1 ) : String {
    var chars : String = '';
    for( i in 0...n ) {
      var n : Int = Math.round(Math.random() * 78 + 48);
      chars += String.fromCharCode(if(n == 92) 48 else n);
    }
    return chars;
  }

}
